﻿// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证（版本 2.0）进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动！任何基于本项目二次开发而产生的一切法律纠纷和责任，我们不承担任何责任！

using Admin.NET.Core;
using System.ComponentModel.DataAnnotations;

namespace Admin.NET.Application;

/// <summary>
/// 球员球队年度统计基础输入参数
/// </summary>
public class AppPlayerTeamStatisticsBaseInput
{
    /// <summary>
    /// 主键Id
    /// </summary>
    public virtual long? Id { get; set; }
    
    /// <summary>
    /// 球员Id
    /// </summary>
    [Required(ErrorMessage = "球员Id不能为空")]
    public virtual long? UserId { get; set; }
    
    /// <summary>
    /// 球队Id
    /// </summary>
    [Required(ErrorMessage = "球队Id不能为空")]
    public virtual long? TeamId { get; set; }
    
    /// <summary>
    /// 年份
    /// </summary>
    public virtual DateTime? Year { get; set; }
    
    /// <summary>
    /// 进球数
    /// </summary>
    public virtual int? Goals { get; set; }
    
    /// <summary>
    /// 助攻数
    /// </summary>
    public virtual int? Assists { get; set; }
    
    /// <summary>
    /// 出勤次数
    /// </summary>
    public virtual int? Attendances { get; set; }
    
    /// <summary>
    /// 积分
    /// </summary>
    public virtual int? Points { get; set; }
    
    /// <summary>
    /// 黄牌数
    /// </summary>
    public virtual int? YellowCards { get; set; }
    
    /// <summary>
    /// 红牌数
    /// </summary>
    public virtual int? RedCards { get; set; }
    
    /// <summary>
    /// 上场时间（分钟）
    /// </summary>
    public virtual int? MinutesPlayed { get; set; }
    
    /// <summary>
    /// 射门次数
    /// </summary>
    public virtual int? Shots { get; set; }
    
    /// <summary>
    /// 射正次数
    /// </summary>
    public virtual int? ShotsOnTarget { get; set; }
    
    /// <summary>
    /// 传球次数
    /// </summary>
    public virtual int? Passes { get; set; }
    
    /// <summary>
    /// 传球成功率
    /// </summary>
    public virtual double? PassAccuracy { get; set; }
    
    /// <summary>
    /// 关键传球次数
    /// </summary>
    public virtual int? KeyPasses { get; set; }
    
    /// <summary>
    /// 抢断次数
    /// </summary>
    public virtual int? Tackles { get; set; }
    
    /// <summary>
    /// 拦截次数
    /// </summary>
    public virtual int? Interceptions { get; set; }
    
    /// <summary>
    /// 解围次数
    /// </summary>
    public virtual int? Clearances { get; set; }
    
    /// <summary>
    /// 扑救次数
    /// </summary>
    public virtual int? Saves { get; set; }
    
    /// <summary>
    /// 扑救成功率
    /// </summary>
    public virtual double? SaveAccuracy { get; set; }
    
    /// <summary>
    /// 犯规次数
    /// </summary>
    public virtual int? Fouls { get; set; }
    
    /// <summary>
    /// 被犯规次数
    /// </summary>
    public virtual int? FoulsDrawn { get; set; }
    
    /// <summary>
    /// 越位次数
    /// </summary>
    public virtual int? Offsides { get; set; }
    
    /// <summary>
    /// 头球争顶成功次数
    /// </summary>
    public virtual int? AerialDuelsWon { get; set; }
    
    /// <summary>
    /// 评分
    /// </summary>
    public virtual double? Rating { get; set; }
    
    /// <summary>
    /// 备注
    /// </summary>
    public virtual string? Remark { get; set; }
    
}

/// <summary>
/// 球员球队年度统计分页查询输入参数
/// </summary>
public class PageAppPlayerTeamStatisticsInput : BasePageInput
{
    /// <summary>
    /// 球员Id
    /// </summary>
    public long? UserId { get; set; }
    
    /// <summary>
    /// 球队Id
    /// </summary>
    public long? TeamId { get; set; }
    
    /// <summary>
    /// 年份
    /// </summary>
    public DateTime? Year { get; set; }
    
    /// <summary>
    /// 进球数
    /// </summary>
    public int? Goals { get; set; }
    
    /// <summary>
    /// 助攻数
    /// </summary>
    public int? Assists { get; set; }
    
    /// <summary>
    /// 出勤次数
    /// </summary>
    public int? Attendances { get; set; }
    
    /// <summary>
    /// 积分
    /// </summary>
    public int? Points { get; set; }
    
    /// <summary>
    /// 黄牌数
    /// </summary>
    public int? YellowCards { get; set; }
    
    /// <summary>
    /// 红牌数
    /// </summary>
    public int? RedCards { get; set; }
    
    /// <summary>
    /// 上场时间（分钟）
    /// </summary>
    public int? MinutesPlayed { get; set; }
    
    /// <summary>
    /// 射门次数
    /// </summary>
    public int? Shots { get; set; }
    
    /// <summary>
    /// 射正次数
    /// </summary>
    public int? ShotsOnTarget { get; set; }
    
    /// <summary>
    /// 传球次数
    /// </summary>
    public int? Passes { get; set; }
    
    /// <summary>
    /// 传球成功率
    /// </summary>
    public double? PassAccuracy { get; set; }
    
    /// <summary>
    /// 关键传球次数
    /// </summary>
    public int? KeyPasses { get; set; }
    
    /// <summary>
    /// 抢断次数
    /// </summary>
    public int? Tackles { get; set; }
    
    /// <summary>
    /// 拦截次数
    /// </summary>
    public int? Interceptions { get; set; }
    
    /// <summary>
    /// 解围次数
    /// </summary>
    public int? Clearances { get; set; }
    
    /// <summary>
    /// 扑救次数
    /// </summary>
    public int? Saves { get; set; }
    
    /// <summary>
    /// 扑救成功率
    /// </summary>
    public double? SaveAccuracy { get; set; }
    
    /// <summary>
    /// 犯规次数
    /// </summary>
    public int? Fouls { get; set; }
    
    /// <summary>
    /// 被犯规次数
    /// </summary>
    public int? FoulsDrawn { get; set; }
    
    /// <summary>
    /// 越位次数
    /// </summary>
    public int? Offsides { get; set; }
    
    /// <summary>
    /// 头球争顶成功次数
    /// </summary>
    public int? AerialDuelsWon { get; set; }
    
    /// <summary>
    /// 评分
    /// </summary>
    public double? Rating { get; set; }
    
    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }
    
    /// <summary>
    /// 选中主键列表
    /// </summary>
     public List<long> SelectKeyList { get; set; }
}

/// <summary>
/// 球员球队年度统计增加输入参数
/// </summary>
public class AddAppPlayerTeamStatisticsInput
{
    /// <summary>
    /// 球员Id
    /// </summary>
    [Required(ErrorMessage = "球员Id不能为空")]
    public long? UserId { get; set; }
    
    /// <summary>
    /// 球队Id
    /// </summary>
    [Required(ErrorMessage = "球队Id不能为空")]
    public long? TeamId { get; set; }
    
    /// <summary>
    /// 年份
    /// </summary>
    public DateTime? Year { get; set; }
    
    /// <summary>
    /// 进球数
    /// </summary>
    public int? Goals { get; set; }
    
    /// <summary>
    /// 助攻数
    /// </summary>
    public int? Assists { get; set; }
    
    /// <summary>
    /// 出勤次数
    /// </summary>
    public int? Attendances { get; set; }
    
    /// <summary>
    /// 积分
    /// </summary>
    public int? Points { get; set; }
    
    /// <summary>
    /// 黄牌数
    /// </summary>
    public int? YellowCards { get; set; }
    
    /// <summary>
    /// 红牌数
    /// </summary>
    public int? RedCards { get; set; }
    
    /// <summary>
    /// 上场时间（分钟）
    /// </summary>
    public int? MinutesPlayed { get; set; }
    
    /// <summary>
    /// 射门次数
    /// </summary>
    public int? Shots { get; set; }
    
    /// <summary>
    /// 射正次数
    /// </summary>
    public int? ShotsOnTarget { get; set; }
    
    /// <summary>
    /// 传球次数
    /// </summary>
    public int? Passes { get; set; }
    
    /// <summary>
    /// 传球成功率
    /// </summary>
    public double? PassAccuracy { get; set; }
    
    /// <summary>
    /// 关键传球次数
    /// </summary>
    public int? KeyPasses { get; set; }
    
    /// <summary>
    /// 抢断次数
    /// </summary>
    public int? Tackles { get; set; }
    
    /// <summary>
    /// 拦截次数
    /// </summary>
    public int? Interceptions { get; set; }
    
    /// <summary>
    /// 解围次数
    /// </summary>
    public int? Clearances { get; set; }
    
    /// <summary>
    /// 扑救次数
    /// </summary>
    public int? Saves { get; set; }
    
    /// <summary>
    /// 扑救成功率
    /// </summary>
    public double? SaveAccuracy { get; set; }
    
    /// <summary>
    /// 犯规次数
    /// </summary>
    public int? Fouls { get; set; }
    
    /// <summary>
    /// 被犯规次数
    /// </summary>
    public int? FoulsDrawn { get; set; }
    
    /// <summary>
    /// 越位次数
    /// </summary>
    public int? Offsides { get; set; }
    
    /// <summary>
    /// 头球争顶成功次数
    /// </summary>
    public int? AerialDuelsWon { get; set; }
    
    /// <summary>
    /// 评分
    /// </summary>
    public double? Rating { get; set; }
    
    /// <summary>
    /// 备注
    /// </summary>
    [MaxLength(256, ErrorMessage = "备注字符长度不能超过256")]
    public string? Remark { get; set; }
    
}

/// <summary>
/// 球员球队年度统计删除输入参数
/// </summary>
public class DeleteAppPlayerTeamStatisticsInput
{
    /// <summary>
    /// 主键Id
    /// </summary>
    [Required(ErrorMessage = "主键Id不能为空")]
    public long? Id { get; set; }
    
}

/// <summary>
/// 球员球队年度统计更新输入参数
/// </summary>
public class UpdateAppPlayerTeamStatisticsInput
{
    /// <summary>
    /// 主键Id
    /// </summary>    
    [Required(ErrorMessage = "主键Id不能为空")]
    public long? Id { get; set; }
    
    /// <summary>
    /// 球员Id
    /// </summary>    
    [Required(ErrorMessage = "球员Id不能为空")]
    public long? UserId { get; set; }
    
    /// <summary>
    /// 球队Id
    /// </summary>    
    [Required(ErrorMessage = "球队Id不能为空")]
    public long? TeamId { get; set; }
    
    /// <summary>
    /// 年份
    /// </summary>    
    public DateTime? Year { get; set; }
    
    /// <summary>
    /// 进球数
    /// </summary>    
    public int? Goals { get; set; }
    
    /// <summary>
    /// 助攻数
    /// </summary>    
    public int? Assists { get; set; }
    
    /// <summary>
    /// 出勤次数
    /// </summary>    
    public int? Attendances { get; set; }
    
    /// <summary>
    /// 积分
    /// </summary>    
    public int? Points { get; set; }
    
    /// <summary>
    /// 黄牌数
    /// </summary>    
    public int? YellowCards { get; set; }
    
    /// <summary>
    /// 红牌数
    /// </summary>    
    public int? RedCards { get; set; }
    
    /// <summary>
    /// 上场时间（分钟）
    /// </summary>    
    public int? MinutesPlayed { get; set; }
    
    /// <summary>
    /// 射门次数
    /// </summary>    
    public int? Shots { get; set; }
    
    /// <summary>
    /// 射正次数
    /// </summary>    
    public int? ShotsOnTarget { get; set; }
    
    /// <summary>
    /// 传球次数
    /// </summary>    
    public int? Passes { get; set; }
    
    /// <summary>
    /// 传球成功率
    /// </summary>    
    public double? PassAccuracy { get; set; }
    
    /// <summary>
    /// 关键传球次数
    /// </summary>    
    public int? KeyPasses { get; set; }
    
    /// <summary>
    /// 抢断次数
    /// </summary>    
    public int? Tackles { get; set; }
    
    /// <summary>
    /// 拦截次数
    /// </summary>    
    public int? Interceptions { get; set; }
    
    /// <summary>
    /// 解围次数
    /// </summary>    
    public int? Clearances { get; set; }
    
    /// <summary>
    /// 扑救次数
    /// </summary>    
    public int? Saves { get; set; }
    
    /// <summary>
    /// 扑救成功率
    /// </summary>    
    public double? SaveAccuracy { get; set; }
    
    /// <summary>
    /// 犯规次数
    /// </summary>    
    public int? Fouls { get; set; }
    
    /// <summary>
    /// 被犯规次数
    /// </summary>    
    public int? FoulsDrawn { get; set; }
    
    /// <summary>
    /// 越位次数
    /// </summary>    
    public int? Offsides { get; set; }
    
    /// <summary>
    /// 头球争顶成功次数
    /// </summary>    
    public int? AerialDuelsWon { get; set; }
    
    /// <summary>
    /// 评分
    /// </summary>    
    public double? Rating { get; set; }
    
    /// <summary>
    /// 备注
    /// </summary>    
    [MaxLength(256, ErrorMessage = "备注字符长度不能超过256")]
    public string? Remark { get; set; }
    
}

/// <summary>
/// 球员球队年度统计主键查询输入参数
/// </summary>
public class QueryByIdAppPlayerTeamStatisticsInput : DeleteAppPlayerTeamStatisticsInput
{
}

/// <summary>
/// 下拉数据输入参数
/// </summary>
public class DropdownDataAppPlayerTeamStatisticsInput
{
    /// <summary>
    /// 是否用于分页查询
    /// </summary>
    public bool FromPage { get; set; }
}

/// <summary>
/// 球员球队年度统计数据导入实体
/// </summary>
[ExcelImporter(SheetIndex = 1, IsOnlyErrorRows = true)]
public class ImportAppPlayerTeamStatisticsInput : BaseImportInput
{
    /// <summary>
    /// 球员Id 关联值
    /// </summary>
    [ImporterHeader(IsIgnore = true)]
    [ExporterHeader(IsIgnore = true)]
    public long? UserId { get; set; }
    
    /// <summary>
    /// 球员Id 文本
    /// </summary>
    [ImporterHeader(Name = "*球员Id")]
    [ExporterHeader("*球员Id", Format = "", Width = 25, IsBold = true)]
    public string UserFkDisplayName { get; set; }
    
    /// <summary>
    /// 球队Id 关联值
    /// </summary>
    [ImporterHeader(IsIgnore = true)]
    [ExporterHeader(IsIgnore = true)]
    public long? TeamId { get; set; }
    
    /// <summary>
    /// 球队Id 文本
    /// </summary>
    [ImporterHeader(Name = "*球队Id")]
    [ExporterHeader("*球队Id", Format = "", Width = 25, IsBold = true)]
    public string TeamFkDisplayName { get; set; }
    
    /// <summary>
    /// 年份
    /// </summary>
    [ImporterHeader(Name = "年份")]
    [ExporterHeader("年份", Format = "", Width = 25, IsBold = true)]
    public DateTime? Year { get; set; }
    
    /// <summary>
    /// 进球数
    /// </summary>
    [ImporterHeader(Name = "进球数")]
    [ExporterHeader("进球数", Format = "", Width = 25, IsBold = true)]
    public int? Goals { get; set; }
    
    /// <summary>
    /// 助攻数
    /// </summary>
    [ImporterHeader(Name = "助攻数")]
    [ExporterHeader("助攻数", Format = "", Width = 25, IsBold = true)]
    public int? Assists { get; set; }
    
    /// <summary>
    /// 出勤次数
    /// </summary>
    [ImporterHeader(Name = "出勤次数")]
    [ExporterHeader("出勤次数", Format = "", Width = 25, IsBold = true)]
    public int? Attendances { get; set; }
    
    /// <summary>
    /// 积分
    /// </summary>
    [ImporterHeader(Name = "积分")]
    [ExporterHeader("积分", Format = "", Width = 25, IsBold = true)]
    public int? Points { get; set; }
    
    /// <summary>
    /// 黄牌数
    /// </summary>
    [ImporterHeader(Name = "黄牌数")]
    [ExporterHeader("黄牌数", Format = "", Width = 25, IsBold = true)]
    public int? YellowCards { get; set; }
    
    /// <summary>
    /// 红牌数
    /// </summary>
    [ImporterHeader(Name = "红牌数")]
    [ExporterHeader("红牌数", Format = "", Width = 25, IsBold = true)]
    public int? RedCards { get; set; }
    
    /// <summary>
    /// 上场时间（分钟）
    /// </summary>
    [ImporterHeader(Name = "上场时间（分钟）")]
    [ExporterHeader("上场时间（分钟）", Format = "", Width = 25, IsBold = true)]
    public int? MinutesPlayed { get; set; }
    
    /// <summary>
    /// 射门次数
    /// </summary>
    [ImporterHeader(Name = "射门次数")]
    [ExporterHeader("射门次数", Format = "", Width = 25, IsBold = true)]
    public int? Shots { get; set; }
    
    /// <summary>
    /// 射正次数
    /// </summary>
    [ImporterHeader(Name = "射正次数")]
    [ExporterHeader("射正次数", Format = "", Width = 25, IsBold = true)]
    public int? ShotsOnTarget { get; set; }
    
    /// <summary>
    /// 传球次数
    /// </summary>
    [ImporterHeader(Name = "传球次数")]
    [ExporterHeader("传球次数", Format = "", Width = 25, IsBold = true)]
    public int? Passes { get; set; }
    
    /// <summary>
    /// 传球成功率
    /// </summary>
    [ImporterHeader(Name = "传球成功率")]
    [ExporterHeader("传球成功率", Format = "", Width = 25, IsBold = true)]
    public double? PassAccuracy { get; set; }
    
    /// <summary>
    /// 关键传球次数
    /// </summary>
    [ImporterHeader(Name = "关键传球次数")]
    [ExporterHeader("关键传球次数", Format = "", Width = 25, IsBold = true)]
    public int? KeyPasses { get; set; }
    
    /// <summary>
    /// 抢断次数
    /// </summary>
    [ImporterHeader(Name = "抢断次数")]
    [ExporterHeader("抢断次数", Format = "", Width = 25, IsBold = true)]
    public int? Tackles { get; set; }
    
    /// <summary>
    /// 拦截次数
    /// </summary>
    [ImporterHeader(Name = "拦截次数")]
    [ExporterHeader("拦截次数", Format = "", Width = 25, IsBold = true)]
    public int? Interceptions { get; set; }
    
    /// <summary>
    /// 解围次数
    /// </summary>
    [ImporterHeader(Name = "解围次数")]
    [ExporterHeader("解围次数", Format = "", Width = 25, IsBold = true)]
    public int? Clearances { get; set; }
    
    /// <summary>
    /// 扑救次数
    /// </summary>
    [ImporterHeader(Name = "扑救次数")]
    [ExporterHeader("扑救次数", Format = "", Width = 25, IsBold = true)]
    public int? Saves { get; set; }
    
    /// <summary>
    /// 扑救成功率
    /// </summary>
    [ImporterHeader(Name = "扑救成功率")]
    [ExporterHeader("扑救成功率", Format = "", Width = 25, IsBold = true)]
    public double? SaveAccuracy { get; set; }
    
    /// <summary>
    /// 犯规次数
    /// </summary>
    [ImporterHeader(Name = "犯规次数")]
    [ExporterHeader("犯规次数", Format = "", Width = 25, IsBold = true)]
    public int? Fouls { get; set; }
    
    /// <summary>
    /// 被犯规次数
    /// </summary>
    [ImporterHeader(Name = "被犯规次数")]
    [ExporterHeader("被犯规次数", Format = "", Width = 25, IsBold = true)]
    public int? FoulsDrawn { get; set; }
    
    /// <summary>
    /// 越位次数
    /// </summary>
    [ImporterHeader(Name = "越位次数")]
    [ExporterHeader("越位次数", Format = "", Width = 25, IsBold = true)]
    public int? Offsides { get; set; }
    
    /// <summary>
    /// 头球争顶成功次数
    /// </summary>
    [ImporterHeader(Name = "头球争顶成功次数")]
    [ExporterHeader("头球争顶成功次数", Format = "", Width = 25, IsBold = true)]
    public int? AerialDuelsWon { get; set; }
    
    /// <summary>
    /// 评分
    /// </summary>
    [ImporterHeader(Name = "评分")]
    [ExporterHeader("评分", Format = "", Width = 25, IsBold = true)]
    public double? Rating { get; set; }
    
    /// <summary>
    /// 备注
    /// </summary>
    [ImporterHeader(Name = "备注")]
    [ExporterHeader("备注", Format = "", Width = 25, IsBold = true)]
    public string? Remark { get; set; }
    
}
